#define _CRT_SECURE_NO_WARNINGS 1
class Solution {
public:
    string leftRotateString(string str, int n) {
        return str.substr(n) + str.substr(0, n);
    }
};